﻿<%--
/*
 * This file is part of EPPLib.
 * Copyright 2010, 2011 
 * Gianluca Esposito (info@gianlucaesposito.it)
 * ----------------------------------------------------------------------------
 * EPPLib is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2.1 of the License, or
 * (at your option) any later version.
 * 
 * EPPLib is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public License
 * along with Nome-Programma; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
--%>

<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<EPPLib.Messages.CheckContactResponseMessage>" %>
<asp:Content ID="mainContent" ContentPlaceHolderID="mainContentPlaceholder" runat="server">
    <h2>Verifica contatto</h2>

    <% using(Html.BeginForm()) { %>
    <div class="form">
        <div class="row">
            <label for="idBox1">ID 1:</label>
            <input id="idBox1" name="idBox1" type="text" />
        </div>
        <div class="row">
            <label for="idBox2">ID 2:</label>
            <input id="idBox2" name="idBox2" type="text" />
        </div>
        <div class="row">
            <label for="idBox3">ID 3:</label>
            <input id="idBox3" name="idBox3" type="text" />
        </div>
        <div class="row">
            <label for="idBox4">ID 4:</label>
            <input id="idBox4" name="idBox4" type="text" />
        </div>
        <div class="row">
            <label for="idBox5">ID 5:</label>
            <input id="idBox5" name="idBox5" type="text" />
        </div>
        <input type="submit" value="Invia" />
    </div>
    <% } %>

    <% if (TempData["__ISDONE"] != null) { %>
    <% if ((bool)TempData["__ISDONE"])
       { %>
       <h3 class="resultDone">Operazione eseguita con successo</h3>
    <% }
       else
       { %>
       <h3 class="resultError">Operazione non eseguita</h3>
    <% } %>
    <% } %>

     <% Html.RenderPartial("ConsoleView", (EPPLib.Messages.CheckContactResponseMessage)ViewData["__RESPONSE_MESSAGE"]); %>
</asp:Content>
<asp:Content ID="titleContent" ContentPlaceHolderID="titleContentPlaceholder" runat="server">
    eppclient.it - Contatti - Verifica
</asp:Content>